package com.fyb.middleware.annotation;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * @Author：MR.FANG
 * @name：DoRateLimieter
 * @Date：2025/6/10 下午4:17
 */
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.METHOD)
public @interface DoRateLimiter {

    //每秒许可数
    double permitsPerSecond() default 0D;
    String returnJson() default "";
}
